<template>
  <el-container>
    <el-header>蜗牛共享停车系统</el-header>
    <el-container >
      <el-aside width="200px">
          <el-menu
              default-active="/platform"
              router
              class="el-menu-vertical-demo"
              >
            <el-submenu index="1">
              <template slot="title">
                <i class="el-icon-location"></i>
                <span>用户信息管理</span>
              </template>
              <el-menu-item-group>
                <template slot="title">抢租客</template>
                <el-menu-item index="/UserRiverShow">查看抢租客信息</el-menu-item>
                <el-menu-item index="/UserRiverReview">抢租客审核列表</el-menu-item>
              </el-menu-item-group>
              <el-menu-item-group title="出租方">
                <el-menu-item index="/UserRentShow">查看出租方信息</el-menu-item>
                <el-menu-item index="/UserRentReview">出租方审核列表</el-menu-item>
              </el-menu-item-group>
            </el-submenu>
            <el-submenu index="2">
              <template slot="title">
                <i class="el-icon-location"></i>
                <span>物业信息管理</span>
              </template>
              <el-menu-item-group>
                <el-menu-item index="/parking">查看物业信息</el-menu-item>
                <el-menu-item index="/parkingReview">物业审核列表</el-menu-item>
                <el-menu-item index="/bosscarku">车库信息查询</el-menu-item>
                <el-menu-item index="/bossaduit">车库审核</el-menu-item>
              </el-menu-item-group>
            </el-submenu>
            <el-submenu index="3">
              <template slot="title">
                <i class="el-icon-location"></i>
                <span>统计流水查询</span>
              </template>
              <el-menu-item-group>
                <el-menu-item index="/earnings">个人流水</el-menu-item>
                <el-menu-item index="/platform">平台流水</el-menu-item>
              </el-menu-item-group>
            </el-submenu>
            <el-menu-item index="/orderInfo">
              <i class="el-icon-setting"></i>
              <span slot="title">订单信息</span>
            </el-menu-item>
            <el-menu-item index="/parkingInfo">
              <i class="el-icon-setting"></i>
              <span slot="title">车位信息管理</span>
            </el-menu-item>
          </el-menu>
      </el-aside>
      <el-container>
            <router-view></router-view>
      </el-container>
    </el-container>
  </el-container>
</template>

<script>

export default {
  name: "boss",
  components:{
  },
  methods: {
    handleOpen(key, keyPath) {
      console.log(key, keyPath);
    },
    handleClose(key, keyPath) {
      console.log(key, keyPath);
    }
  }
}
</script>
